package work.mediway.mdm.biz.mapper.biz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mediway.hos.messgateway.model.entity.ServiceManage;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.vo.biz.MessageStatisticsVO;
import work.mediway.mdm.biz.vo.biz.ServiceManageVO;
import work.mediway.mdm.biz.entity.biz.SsInterSystems;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2022/7/7
 */
@Mapper
public interface SsInterSystemsMapper extends BaseMapper<SsInterSystems> {

    /**
     * 查询服务(重写)
     *
     * @param page          Page<ServiceManageVO>
     * @param serviceManage ServiceManage
     * @param ssslsSystemId Long
     * @return List<ServiceManageVO>
     */
    List<ServiceManageVO> selectInterService(Page<ServiceManageVO> page, @Param("serviceManage") ServiceManage serviceManage, @Param("ssslsSystemId") Long ssslsSystemId);

    /**
     * 查询系统信息
     *
     * @param page         Page<SsInterSystems>
     * @param interSystems SsInterSystems
     * @return List<SsInterSystems>
     */
    List<SsInterSystems> selectInterSystem(Page<SsInterSystems> page, @Param("interSystems") SsInterSystems interSystems);

    /**
     * 统计消息日志信息
     *
     * @param sendDate String
     * @return List<MessageStatisticsVO>
     */
    List<MessageStatisticsVO> selectStatisticsMessageList(@Param("sendDate") String sendDate);
}